how china became the factory of the world